﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TjZheng.Windows.Forms;

namespace TjZheng.JiaLi.Process
{
    public abstract class TicketForm : TjZhengForm
    {
        public TicketProcessHandler TicketProcessHandler { get; set; }
        public TicketContext TicketContext { get; set; }
        public TicketForm()
        {
            this.TicketProcessHandler = this.CreateTicketProcessHandler();
            this.TicketContext = this.CreateTicketContext();
        }

        public abstract TicketProcessHandler CreateTicketProcessHandler();
        public abstract TicketContext CreateTicketContext();
    }
}
